package ruifight.member.service.impl;

import org.springframework.stereotype.Service;
import ruifight.member.dao.AdvertisementMapper;
import ruifight.member.model.Advertisement;
import ruifight.member.model.AdvertisementExample;
import ruifight.member.service.AdvertisementService;
import ruifight.member.service.base.BaseServiceImpl;

import javax.annotation.Resource;

@Service
public class AdvertisementServiceImpl extends BaseServiceImpl<Advertisement, AdvertisementExample, Long> implements AdvertisementService {

    @Resource
    private AdvertisementMapper advertisementMapper;

    public Advertisement getAdvertisement(){
        return advertisementMapper.getAdvertisement();
    }
}
